package net.xinqushi.design.Factory.model;

/**
 * singleton 单例模式
 */
public class Bike implements Traffic{

    private static Bike bike = new Bike();

    private Bike(){}; //私有化

    public static Bike getInstance(){
        return bike;
    }
}
